package ro.hex.remocadm.telnet;

/**
 * Interface defining the notifier handling Telnet thread events.
 * 
 * @author Iulian Virtejanu
 */
public interface TelnetNotifier {

    public final static int START_EVENT = 0;
    public final static int END_EVENT = 1;
    public final static int ERROR_EVENT = 2;

    /**
     * Notifies using the given event.
     * @param event
     */
    public void updateStatus(int event, Object payload);
}
